// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_FIN_CASH_FLOW
// * CreateDate    : 2014-06-05 18:29:47
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:47
// * LastChanger   : 2014-06-05 18:29:47
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class FinCashFlowTable : TableInfo
    {
		public const string C_TableName = "FIN_CASH_FLOW";
		
		public const string C_CASH_FLOW_ID = "CASH_FLOW_ID";
		public const string C_PERON_ID = "PERON_ID";
		public const string C_CURRENCY = "CURRENCY";
		public const string C_CASH_FLOW_TYPE = "CASH_FLOW_TYPE";
		public const string C_ACCOUNTS_CODE = "ACCOUNTS_CODE";
		public const string C_CASH_FLOW_DATE = "CASH_FLOW_DATE";
		public const string C_AMOUNT = "AMOUNT";
		public const string C_REMARK = "REMARK";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_LAST_MODIFIED_DATE = "LAST_MODIFIED_DATE";
		public const string C_LAST_MODIFIED_BY = "LAST_MODIFIED_BY";
		
		public FinCashFlowTable()
        {
            _tableName = "FIN_CASH_FLOW";
        }
		
		protected static FinCashFlowTable _current;
        public static FinCashFlowTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new FinCashFlowTable();

            _current.Add(C_CASH_FLOW_ID, new ColumnInfo(C_CASH_FLOW_ID,"CashFlowId", true, typeof(string)));
            _current.Add(C_PERON_ID, new ColumnInfo(C_PERON_ID,"PeronId", false, typeof(string)));
            _current.Add(C_CURRENCY, new ColumnInfo(C_CURRENCY,"Currency", false, typeof(string)));
            _current.Add(C_CASH_FLOW_TYPE, new ColumnInfo(C_CASH_FLOW_TYPE,"CashFlowType", false, typeof(string)));
            _current.Add(C_ACCOUNTS_CODE, new ColumnInfo(C_ACCOUNTS_CODE,"AccountsCode", false, typeof(string)));
            _current.Add(C_CASH_FLOW_DATE, new ColumnInfo(C_CASH_FLOW_DATE,"CashFlowDate", false, typeof(DateTime)));
            _current.Add(C_AMOUNT, new ColumnInfo(C_AMOUNT,"Amount", false, typeof(decimal)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_LAST_MODIFIED_DATE, new ColumnInfo(C_LAST_MODIFIED_DATE,"LastModifiedDate", false, typeof(DateTime)));
            _current.Add(C_LAST_MODIFIED_BY, new ColumnInfo(C_LAST_MODIFIED_BY,"LastModifiedBy", false, typeof(string)));
			
		}
		
		public ColumnInfo CASH_FLOW_ID
        {
            get { return this[C_CASH_FLOW_ID]; }
        }
		
		public ColumnInfo PERON_ID
        {
            get { return this[C_PERON_ID]; }
        }
		
		public ColumnInfo CURRENCY
        {
            get { return this[C_CURRENCY]; }
        }
		
		public ColumnInfo CASH_FLOW_TYPE
        {
            get { return this[C_CASH_FLOW_TYPE]; }
        }
		
		public ColumnInfo ACCOUNTS_CODE
        {
            get { return this[C_ACCOUNTS_CODE]; }
        }
		
		public ColumnInfo CASH_FLOW_DATE
        {
            get { return this[C_CASH_FLOW_DATE]; }
        }
		
		public ColumnInfo AMOUNT
        {
            get { return this[C_AMOUNT]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo LAST_MODIFIED_DATE
        {
            get { return this[C_LAST_MODIFIED_DATE]; }
        }
		
		public ColumnInfo LAST_MODIFIED_BY
        {
            get { return this[C_LAST_MODIFIED_BY]; }
        }
		
		
		
	}
}

